$(function () {
    let inputUtil = new Input_util();
    inputUtil.popUpsView();
    inputUtil.popUpsInsert();

    $(".search-img").on("click",function (){
        const val=$(".search-input input").val()
        window.location.href="/www.xiaomi.com/background/home?menuId=106&afterSalesMc="+val;
    })
    $(".select").on("click",function (){
        const afterSalesType=$("#type").val()
        const afterSalesState=$("#status").val()
        window.location.href="/www.xiaomi.com/background/home?menuId=106&afterSalesType="+afterSalesType+"&afterSalesState="+afterSalesState;
    })
    $("#date-flashback").on("click",function (){
        const afterSalesDate=$("#date-flashback").val()
        window.location.href="/www.xiaomi.com/background/home?menuId=106&afterSalesDate="+afterSalesDate;
    })
    $("#date-positive-order").on("click",function (){
        const afterSalesDate=$("#date-positive-order").val()
        window.location.href="/www.xiaomi.com/background/home?menuId=106&afterSalesDate="+afterSalesDate;
    })
})